package start;

import org.apache.dubbo.config.spring.context.annotation.EnableDubbo;
import org.apache.dubbo.config.spring.context.annotation.EnableDubboConfig;
import org.mybatis.spring.annotation.MapperScan;
import org.springframework.boot.SpringApplication;
import org.springframework.boot.autoconfigure.SpringBootApplication;
import org.springframework.context.annotation.ComponentScan;

/**
 * @Company: CUG
 * @Description: TODO
 * @Author: LiYangyong
 * @Date: 2022/8/1/001 23:18
 **/

@SpringBootApplication
@EnableDubboConfig
@MapperScan("com.ymm.driver.dao.mapper")
@ComponentScan(basePackages = {"com.ymm.driver.core"})
public class DriverStart {
    public static void main(String[] args) {
        SpringApplication.run(DriverStart.class, args);
    }
}
